prometheus-node-exporter-lua: Fix broken textfile collector
authorRob Hoelz <[email protected]>
Tue, 15 Jul 2025 02:23:35 +0000 (21:23 -0500)
committerEtienne Champetier <[email protected]>
Wed, 16 Jul 2025 15:11:22 +0000 (17:11 +0200)
commit86e20d37a890a18e30a5bc9a398bd3f729b8f630
tree423621b201cb14ba3b71d3bc7912b5c22d6ffd54
parent81e9bbd6a59ae0bfa694e1f7b2c8c4bb28562b48
prometheus-node-exporter-lua: Fix broken textfile collector

A recent change (00d420e80) removed the `output` function, which textfile.lua was
using to output metrics.  So use the underlying output handle instead

Signed-off-by: Rob Hoelz <[email protected]>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/textfile.lua